﻿using System;
using EkStudio.com.bean.xml.RootInterface;
using EkStudio.com.bean.xml.reflection;

namespace EkStudio.com.bean.xml.BillMapping
{
    public class BillDataMapField:BillObjectInterface
    {
        private string caption = "";//当前分组对象字段标签
        private string key = "";//当前分组对象字段key
        private string dataSource = "";//当前分组对象字段数据源
        private string linker = "";//连接的库存模块字段key
        private string linkerCaption = "";//连接的库存模块字段标签
        private string linkerSource = "";//连接的库存模块字段数据源
        private string linkerType = "";//连接的库存模块结存类型

        [Xml]
        public string Caption
        {
            get { return caption; }
            set { caption = value; }
        }
        [Xml]
        public string Key
        {
            get { return key; }
            set { key = value; }
        }
        [Xml]
        public string DataSource
        {
            get { return dataSource; }
            set { dataSource = value; }
        }
        [Xml]
        public string Linker
        {
            get { return linker; }
            set { linker = value; }
        }
        [Xml]
        public string LinkerCaption
        {
            get { return linkerCaption; }
            set { linkerCaption = value; }
        }
        [Xml]
        public string LinkerSource
        {
            get { return linkerSource; }
            set { linkerSource = value; }
        }
        [Xml]
        public string LinkerType
        {
            get { return linkerType; }
            set { linkerType = value; }
        }


        [XmlTransient]
        public object ParentBean
        {
            get { return null; }
            set { }
        }

        public object Clone()
        {
            throw new NotImplementedException();
        }
    }
}
